.side {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  // background-color: red;

  .top {
    width: 100%;
    height: 75px;
    text-align: center;
    line-height: 75px;

    .logoY {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .logo {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .main {
    width: 100%;
    min-height: 80px;
    max-height: 600px;
    overflow-y: auto;



    .open {
      padding: 0 5px;
      width: 100%;
      display: flex;
      flex-direction: column;
      color: #515c6b;
      cursor: pointer;

      .main_item {
        margin: 2px 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
        transition: all 0.2s linear;

        .topBox {
          width: 100%;
          height: 45px;
          display: flex;
          align-items: center;
          transition: all 0.3s ease;
          border-radius: 8px;

          &:hover {
            color: #b895a7;
            background-color: #e0e0e0;
          }

          .iconfont {
            width: 45px;
            height: 45px;
            text-align: center;
            line-height: 45px;
            font-size: 25px;
            transition: all 0.1s ease;
          }

          .shou {
            position: absolute;
            right: 10px;
            width: 30px;
            height: 30px;
            line-height: 30px;
            border-radius: 50%;

            &:hover {
              color: #b895a7;
              background-color: #e0e0e0;
            }
          }

          a {
            // width: 100%;
            // height: 100%;
            color: #515c6b;
          }

        }

        ul {
          width: 100%;
          max-height: 0;
          overflow: hidden;
          transition: max-height 0.5s linear;

          li {
            width: 100%;
            height: 35px;


            a {
              padding-left: 10px;
              float: right;
              display: block;
              width: 80%;
              height: 100%;
              line-height: 35px;
              border-radius: 5px;
              transition: all 0.2s ease;
              color: #515c6b;

              &:hover {
                color: #b895a7;
                background-color: #e0e0e0;
              }
            }

          }
        }
      }
    }

    .close {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #515c6b;

      .main_item {
        margin: 2px 0;
        width: 45px;
        height: 45px;
        border-radius: 5px;
        // background-color: red;
        position: relative;

        &:hover {
          color: #b895a7;
          background-color: #e0e0e0;
        }

        .iconfont {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 25px;
        }
      }
    }

  }

  .bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    // background-color: #fff;
    cursor: pointer;
    .open {
      padding: 0 5px;
      width: 100%;
      display: flex;
      flex-direction: column;
      color: #515c6b;
      cursor: pointer;

      .main_item {
        margin: 2px 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
        transition: all 0.2s linear;

        .topBox {
          width: 100%;
          height: 45px;
          display: flex;
          align-items: center;
          transition: all 0.3s ease;
          border-radius: 8px;

          &:hover {
            color: #b895a7;
            background-color: #e0e0e0;
          }

          .iconfont {
            width: 45px;
            height: 45px;
            text-align: center;
            line-height: 45px;
            font-size: 25px;
            transition: all 0.1s ease;
          }

          .shou {
            position: absolute;
            right: 10px;
            width: 30px;
            height: 30px;
            line-height: 30px;
            border-radius: 50%;

            &:hover {
              color: #b895a7;
              background-color: #e0e0e0;
            }
          }

          span {
            // width: 100%;
            // height: 100%;
            color: #515c6b;
          }

        }
      }
    }

    .close {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      color: #515c6b;

      .main_item {
        margin: 2px 0;
        width: 45px;
        height: 45px;
        border-radius: 5px;
        // background-color: red;
        position: relative;

        &:hover {
          color: #b895a7;
          background-color: #e0e0e0;
        }

        .iconfont {
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          font-size: 25px;
        }
      }
    }
   
  }
}

/* 滚动条整体样式 */
::-webkit-scrollbar {
  width: 3px;
  /* 滚动条宽度 */
  height: 1px;
  /* 横向滚动条高度 */
}

/* 滚动条滑块样式 */
::-webkit-scrollbar-thumb {
  background: #b895a7;
  /* 滑块颜色 */
  border-radius: 5px;
  /* 滑块圆角 */
}

/* 滚动条轨道样式 */
::-webkit-scrollbar-track {
  background: #f0f0f0;
  /* 滚动条轨道颜色 */
  border-radius: 5px;
  /* 轨道圆角 */
}